tente assim:
elseif spell == "Astonish" then doDanoWithProtect(cid, ghostDmg, getThingPosWithDebug(cid), selfArea2, min, max, 548) --- < efeito é esse local eff = 538 local a = getThingPosWithDebug(cid) posi = {x = a.x+2, y = a.y, z = a.z} addEvent(doSendMagicEffect, 100, posi, eff)



info
Grupo: Infante
Registrado: 28/01/12
Posts: 1.6k
Reputação: +262
Gênero: Masculino
Gostaria que o efeito de atk em área ficasse centralizado a quem solta
Código da spell:
elseif spell == "Astonish" then
doDanoWithProtect(cid, ghostDmg, getThingPosWithDebug(cid), selfArea2, min, max, 548) --- < efeito do atk
local eff = 538
local a = getThingPosWithDebug(cid)
posi = {x = a.x+1, y = a.y+1, z = a.z}
addEvent(doSendMagicEffect, 100, posi, eff)
Editado Julho 17 por FlamesAdmin